<?php if (!defined('THINK_PATH')) exit();?><!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
        <title></title>

    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/arc.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css" />
    <script>
            var url = "__URL__";
    </script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/arc.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/bg.js"></script>
</head>
<title></title>
<body>
    <div class="top_addres">
        <div class="addres">添加属性</div> 
    </div>
        <table class="table3">
                <tr>
                    <th>类型:</th>
                    <td>
                        <span class="checkType" tid="<?php echo ($type["id"]); ?>">
                            <?php echo ($type["name"]); ?>
                        </span>
                    </td>
               </tr>
            <tr>
                <th>属性名称:</th>
                <td><input type="text" name="name" class="w200"></td>
            </tr>
            <tr>
                <th>属性样式:</th>
                <td>
                    <input type='radio' name='style' value='1'> :属性
                    <input type='radio' name='style' value='0'> :规格
                </td>
            </tr>
            <tr>
                <th>属性内容:</th>
                <td><textarea class="w200 h100" name="check"></textarea>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <span class="btn">提交</span><a class="btn1" href="<?php echo U('typeArticle');?>">返回</a</td>
            </tr>
        </table>
        <div class="float_bg">
            <div class="type1">
             
                  <div class='float_top'>
                            <h2>选择所属类型</h2>
                            <a href="javascript:;" class='float_close'></a>
                    </div>
                <ul class="type">
                    <?php if(is_array($typeData)): foreach($typeData as $key=>$n): ?><li>
                        <a href="javascript:;"  id='<?php echo ($n["id"]); ?>' class="typeData"><?php echo ($n["name"]); ?></a>
                    </li><?php endforeach; endif; ?>
             </ul>
            </div>
       </div>
       <div class='mesage'></div>
</body>
</html>